﻿<%@ Page Title="" Language="C#" MasterPageFile="~/site.Master" AutoEventWireup="true" CodeFile="Blog.aspx.cs" Inherits="Blog" %>
<%@ MasterType VirtualPath="~/site.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
	<h2 style="width: 100%; text-align:center;">
		<asp:label id="lblBlogTitle" runat="server" />
		<asp:HyperLink ID="hlRSS" runat="server"><img src="Images/rss.png" alt="RSS Feed" style="width: 32px; padding: 10px; position:relative; top:20px;" /></asp:HyperLink>
	</h2> <br />


	<asp:Repeater ID="rPosts" runat="server" OnItemDataBound="rPosts_ItemDataBound">
		<ItemTemplate>
			<h3><asp:HyperLink id="hlTitle" runat="server" /></h3> <br />
			<asp:Label ID="lblPosted" runat="server" style="position:relative; top:-15px;" /><br />

			<div style="text-align:justify; padding: 20px; background-color: #dedeee; margin: 0 auto; width: 95%;">
				<asp:Label ID="lblBody" runat="server" />
			</div> <br />
			<asp:HyperLink id="hlComments" runat="server" />
			<hr />
		</ItemTemplate>
	</asp:Repeater>

</asp:Content>